package com.tocea.formation.tpLibraryEjb.eao;

import java.util.List;

import com.tocea.formation.tpLibraryEjb.DTO.AuthorDTO;
import com.tocea.formation.tpLibraryEjb.entities.Author;

public interface IBookEAO {
	List<Author> findAuthorByName(String s);
	List<Author> findAuthorByBook(String s);
	void addAuthor(String _firstname, String _lastname, Integer age);
	Integer updateAuthor(Integer id, String _first, String _lastname, Integer age);
	Integer deleteAuthor(Integer id);
}
